<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html 
     PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html>
<head>
  <title>from_success_response (MySpace::OAuth::Response)</title>
  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
  <link rel="stylesheet" href="../../../.././rdoc-style.css" type="text/css" media="screen" />
</head>
<body class="standalone-code">
  <pre><span class="ruby-comment cmt"># File myspace/config/oauth_request.rb, line 55</span>
      <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">from_success_response</span>(<span class="ruby-identifier">success_response</span>, <span class="ruby-identifier">oauth_consumer</span>)
        <span class="ruby-identifier">args</span> = <span class="ruby-identifier">success_response</span>.<span class="ruby-identifier">extension_response</span>(<span class="ruby-constant">NS_URI</span>, <span class="ruby-keyword kw">nil</span>)
        <span class="ruby-identifier">new</span>(<span class="ruby-operator">::</span><span class="ruby-constant">OAuth</span><span class="ruby-operator">::</span><span class="ruby-constant">RequestToken</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">oauth_consumer</span>, <span class="ruby-identifier">args</span>[<span class="ruby-value str">'request_token'</span>], <span class="ruby-value str">''</span>))
      <span class="ruby-keyword kw">end</span></pre>
</body>
</html>